package com.xagcdx.group1.service.impl;

import com.xagcdx.group1.bean.Job;
import com.xagcdx.group1.bean.Jobtitle;
import com.xagcdx.group1.dao.JobMapper;
import com.xagcdx.group1.service.JobService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  鏈嶅姟瀹炵幇绫�
 * </p>
 *
 * @author grou1
 * @since 2020-06-09
 */
@Service
@Transactional
public class JobServiceImpl extends ServiceImpl<JobMapper, Job> implements JobService {
@Autowired
private JobMapper jobMapper;

@Override
public Integer counts(Integer page, Integer limit) {
	// TODO Auto-generated method stub
	return jobMapper.counts(page,limit);
}

@Override
public List<Job> jobListPage(Integer i, Integer limit, String did, String jobname,String tag) {
	// TODO Auto-generated method stub
	return jobMapper.jobListPage(i,limit, did,jobname,tag);
}

@Override
public List<Job> jobDepartList(String did) {
	// TODO Auto-generated method stub
	return jobMapper.jobDepartList(did);
}
}
